package com.key.win.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.key.win.base.web.PageRequest;
import com.key.win.base.web.PageResult;
import com.key.win.system.model.SysDevice;

import java.util.List;

public interface SysDeviceService extends IService<SysDevice> {

    PageResult<SysDevice> findSysDeviceByPaged(PageRequest<SysDevice> t);

    List<SysDevice> findSysDevice(SysDevice sysDevice);

    boolean saveOrUpdateDevice(SysDevice sysDevice);

    List<SysDevice> findDeviceByOrganId(String organId);

    boolean deleteById(String id);

    SysDevice getSysDeviceFullById(String id);

    List<SysDevice> findDeviceByOrganIds(List<String> organIds);
}
